package com.travelsky.app.security;

import java.util.Map;


/**
 * 缓存 角色 和 资源的对应关系
 * @author zhougc
 *
 */
public interface EhCacheBasedResourceCache {
    /**
     * 
     * @Title: putUrlAuthoritiesInCache 
     * @Description: 把资源信息放进缓存
     * @param @return    
     * @return Map<String,String>   
     * @throws
     */
	public Map<String, String> putUrlAuthoritiesInCache();
	/**
	 * 
	 * @Title: getUrlAuthoritiesFromCache 
	 * @Description:从缓存中拿取资源信息 
	 * @param @return    
	 * @return Map<String,String>   
	 * @throws
	 */
	public Map<String, String> getUrlAuthoritiesFromCache();
	/**
	 * 
	 * @Title: refreshUrlAuthorities 
	 * @Description: 刷新缓存
	 * @param     
	 * @return void   
	 * @throws
	 */
	public void refreshUrlAuthorities();
}
